﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Delonix_Regia_Hotel_Management_System.Class;

namespace Delonix_Regia_Hotel_Management_System
{
    public partial class Reports_for_Management_and_Adminstrator : Form
    {
        public Reports_for_Management_and_Adminstrator()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Form1 F = new Form1();
            this.Hide();
            F.Show(); 
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (LogInClass.position == "Administrator")
            {
                Main__Management_and_Administrator_ mainA = new Main__Management_and_Administrator_();
                this.Hide();
                mainA.Show();
            }
            else
            {
                Main__Receptionist_ mainR = new Main__Receptionist_();
                this.Hide();
                mainR.Show();
            }

        }

        private void btnRSR_Click(object sender, EventArgs e)
        {
            Room_Status_Report RSR = new Room_Status_Report();
            this.Hide();
            RSR.Show();
        }

        private void btnAGIAR_Click(object sender, EventArgs e)
        {
            All_Guest_In_A_Room_Report AGIAR = new All_Guest_In_A_Room_Report();
            this.Hide();
            AGIAR.Show();
        }

        private void btnAGIARS_Click(object sender, EventArgs e)
        {
            All_Guest_In_All_Rooms_Report AGIARS = new All_Guest_In_All_Rooms_Report();
            this.Hide();
            AGIARS.Show();
        }

        private void btnHSR_Click(object sender, EventArgs e)
        {
            Housekeeping_and_Staff_Report HSR = new Housekeeping_and_Staff_Report();
            this.Hide();
            HSR.Show();
        }
    }
}
